package cj.web.sc.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import cj.web.admin.domain.DataTablePage;

/**
 * 商城订单表
 */
public class SCCrowdFundOrder extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 3037879449571019704L;
	protected Integer id;
	protected String buyerId;
	protected Integer sellerId;
	protected String sellerName;
	protected String sellerLogo;
	protected String orderNo;
	protected String wxTradeNo;
	protected java.math.BigDecimal orginPrice;
	protected java.math.BigDecimal discntPrice;
	protected String receiverName;
	protected String receiverPhone;
	protected String receiverAddress;
	protected Integer isInvoice;
	protected String invoiceHead;
	protected String memo;
	protected String expressCom;
	protected String expressBill;
	protected Integer status;
	protected Integer payWay;
	protected Integer gameId;
	protected String code;
	protected String progress;
	protected java.util.Date payAt;
	protected Integer exportFlag;
	protected Integer deleteFlag;
	protected java.util.Date createAt;
	protected String createUser;
	protected java.util.Date updateAt;
	protected String updateUser;
	
	protected String goodsItemName;
	protected String gameName;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getBuyerId() {
		return buyerId;
	}
	public void setBuyerId(String buyerId) {
		this.buyerId = buyerId;
	}
	public Integer getSellerId() {
		return sellerId;
	}
	public void setSellerId(Integer sellerId) {
		this.sellerId = sellerId;
	}
	public String getSellerName() {
		return sellerName;
	}
	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}
	public String getSellerLogo() {
		return sellerLogo;
	}
	public void setSellerLogo(String sellerLogo) {
		this.sellerLogo = sellerLogo;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public String getWxTradeNo() {
		return wxTradeNo;
	}
	public void setWxTradeNo(String wxTradeNo) {
		this.wxTradeNo = wxTradeNo;
	}
	public java.math.BigDecimal getOrginPrice() {
		return orginPrice;
	}
	public void setOrginPrice(java.math.BigDecimal orginPrice) {
		this.orginPrice = orginPrice;
	}
	public java.math.BigDecimal getDiscntPrice() {
		return discntPrice;
	}
	public void setDiscntPrice(java.math.BigDecimal discntPrice) {
		this.discntPrice = discntPrice;
	}
	public String getReceiverName() {
		return receiverName;
	}
	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}
	public String getReceiverPhone() {
		return receiverPhone;
	}
	public void setReceiverPhone(String receiverPhone) {
		this.receiverPhone = receiverPhone;
	}
	public String getReceiverAddress() {
		return receiverAddress;
	}
	public void setReceiverAddress(String receiverAddress) {
		this.receiverAddress = receiverAddress;
	}
	public Integer getIsInvoice() {
		return isInvoice;
	}
	public void setIsInvoice(Integer isInvoice) {
		this.isInvoice = isInvoice;
	}
	public String getInvoiceHead() {
		return invoiceHead;
	}
	public void setInvoiceHead(String invoiceHead) {
		this.invoiceHead = invoiceHead;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public String getExpressCom() {
		return expressCom;
	}
	public void setExpressCom(String expressCom) {
		this.expressCom = expressCom;
	}
	public String getExpressBill() {
		return expressBill;
	}
	public void setExpressBill(String expressBill) {
		this.expressBill = expressBill;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getPayWay() {
		return payWay;
	}
	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}
	public Integer getGameId() {
		return gameId;
	}
	public void setGameId(Integer gameId) {
		this.gameId = gameId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getProgress() {
		return progress;
	}
	public void setProgress(String progress) {
		this.progress = progress;
	}
	public java.util.Date getPayAt() {
		return payAt;
	}
	public void setPayAt(java.util.Date payAt) {
		this.payAt = payAt;
	}
	public Integer getExportFlag() {
		return exportFlag;
	}
	public void setExportFlag(Integer exportFlag) {
		this.exportFlag = exportFlag;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public java.util.Date getCreateAt() {
		return createAt;
	}
	public void setCreateAt(java.util.Date createAt) {
		this.createAt = createAt;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public java.util.Date getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(java.util.Date updateAt) {
		this.updateAt = updateAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getGoodsItemName() {
		return goodsItemName;
	}
	public void setGoodsItemName(String goodsItemName) {
		this.goodsItemName = goodsItemName;
	}
	public String getGameName() {
		return gameName;
	}
	public void setGameName(String gameName) {
		this.gameName = gameName;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result + ((buyerId == null) ? 0 : buyerId.hashCode());
		result = prime * result + ((code == null) ? 0 : code.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result
				+ ((discntPrice == null) ? 0 : discntPrice.hashCode());
		result = prime * result
				+ ((exportFlag == null) ? 0 : exportFlag.hashCode());
		result = prime * result
				+ ((expressBill == null) ? 0 : expressBill.hashCode());
		result = prime * result
				+ ((expressCom == null) ? 0 : expressCom.hashCode());
		result = prime * result + ((gameId == null) ? 0 : gameId.hashCode());
		result = prime * result
				+ ((gameName == null) ? 0 : gameName.hashCode());
		result = prime * result
				+ ((goodsItemName == null) ? 0 : goodsItemName.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((invoiceHead == null) ? 0 : invoiceHead.hashCode());
		result = prime * result
				+ ((isInvoice == null) ? 0 : isInvoice.hashCode());
		result = prime * result + ((memo == null) ? 0 : memo.hashCode());
		result = prime * result + ((orderNo == null) ? 0 : orderNo.hashCode());
		result = prime * result
				+ ((orginPrice == null) ? 0 : orginPrice.hashCode());
		result = prime * result + ((payAt == null) ? 0 : payAt.hashCode());
		result = prime * result + ((payWay == null) ? 0 : payWay.hashCode());
		result = prime * result
				+ ((progress == null) ? 0 : progress.hashCode());
		result = prime * result
				+ ((receiverAddress == null) ? 0 : receiverAddress.hashCode());
		result = prime * result
				+ ((receiverName == null) ? 0 : receiverName.hashCode());
		result = prime * result
				+ ((receiverPhone == null) ? 0 : receiverPhone.hashCode());
		result = prime * result
				+ ((sellerId == null) ? 0 : sellerId.hashCode());
		result = prime * result
				+ ((sellerLogo == null) ? 0 : sellerLogo.hashCode());
		result = prime * result
				+ ((sellerName == null) ? 0 : sellerName.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		result = prime * result
				+ ((wxTradeNo == null) ? 0 : wxTradeNo.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		SCCrowdFundOrder other = (SCCrowdFundOrder) obj;
		if (buyerId == null) {
			if (other.buyerId != null)
				return false;
		} else if (!buyerId.equals(other.buyerId))
			return false;
		if (code == null) {
			if (other.code != null)
				return false;
		} else if (!code.equals(other.code))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (discntPrice == null) {
			if (other.discntPrice != null)
				return false;
		} else if (!discntPrice.equals(other.discntPrice))
			return false;
		if (exportFlag == null) {
			if (other.exportFlag != null)
				return false;
		} else if (!exportFlag.equals(other.exportFlag))
			return false;
		if (expressBill == null) {
			if (other.expressBill != null)
				return false;
		} else if (!expressBill.equals(other.expressBill))
			return false;
		if (expressCom == null) {
			if (other.expressCom != null)
				return false;
		} else if (!expressCom.equals(other.expressCom))
			return false;
		if (gameId == null) {
			if (other.gameId != null)
				return false;
		} else if (!gameId.equals(other.gameId))
			return false;
		if (gameName == null) {
			if (other.gameName != null)
				return false;
		} else if (!gameName.equals(other.gameName))
			return false;
		if (goodsItemName == null) {
			if (other.goodsItemName != null)
				return false;
		} else if (!goodsItemName.equals(other.goodsItemName))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (invoiceHead == null) {
			if (other.invoiceHead != null)
				return false;
		} else if (!invoiceHead.equals(other.invoiceHead))
			return false;
		if (isInvoice == null) {
			if (other.isInvoice != null)
				return false;
		} else if (!isInvoice.equals(other.isInvoice))
			return false;
		if (memo == null) {
			if (other.memo != null)
				return false;
		} else if (!memo.equals(other.memo))
			return false;
		if (orderNo == null) {
			if (other.orderNo != null)
				return false;
		} else if (!orderNo.equals(other.orderNo))
			return false;
		if (orginPrice == null) {
			if (other.orginPrice != null)
				return false;
		} else if (!orginPrice.equals(other.orginPrice))
			return false;
		if (payAt == null) {
			if (other.payAt != null)
				return false;
		} else if (!payAt.equals(other.payAt))
			return false;
		if (payWay == null) {
			if (other.payWay != null)
				return false;
		} else if (!payWay.equals(other.payWay))
			return false;
		if (progress == null) {
			if (other.progress != null)
				return false;
		} else if (!progress.equals(other.progress))
			return false;
		if (receiverAddress == null) {
			if (other.receiverAddress != null)
				return false;
		} else if (!receiverAddress.equals(other.receiverAddress))
			return false;
		if (receiverName == null) {
			if (other.receiverName != null)
				return false;
		} else if (!receiverName.equals(other.receiverName))
			return false;
		if (receiverPhone == null) {
			if (other.receiverPhone != null)
				return false;
		} else if (!receiverPhone.equals(other.receiverPhone))
			return false;
		if (sellerId == null) {
			if (other.sellerId != null)
				return false;
		} else if (!sellerId.equals(other.sellerId))
			return false;
		if (sellerLogo == null) {
			if (other.sellerLogo != null)
				return false;
		} else if (!sellerLogo.equals(other.sellerLogo))
			return false;
		if (sellerName == null) {
			if (other.sellerName != null)
				return false;
		} else if (!sellerName.equals(other.sellerName))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		if (wxTradeNo == null) {
			if (other.wxTradeNo != null)
				return false;
		} else if (!wxTradeNo.equals(other.wxTradeNo))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "SCCrowdFundOrder [id=" + id + ", buyerId=" + buyerId
				+ ", sellerId=" + sellerId + ", sellerName=" + sellerName
				+ ", sellerLogo=" + sellerLogo + ", orderNo=" + orderNo
				+ ", wxTradeNo=" + wxTradeNo + ", orginPrice=" + orginPrice
				+ ", discntPrice=" + discntPrice + ", receiverName="
				+ receiverName + ", receiverPhone=" + receiverPhone
				+ ", receiverAddress=" + receiverAddress + ", isInvoice="
				+ isInvoice + ", invoiceHead=" + invoiceHead + ", memo=" + memo
				+ ", expressCom=" + expressCom + ", expressBill=" + expressBill
				+ ", status=" + status + ", payWay=" + payWay + ", gameId="
				+ gameId + ", code=" + code + ", progress=" + progress
				+ ", payAt=" + payAt + ", exportFlag=" + exportFlag
				+ ", deleteFlag=" + deleteFlag + ", createAt=" + createAt
				+ ", createUser=" + createUser + ", updateAt=" + updateAt
				+ ", updateUser=" + updateUser + ", goodsItemName="
				+ goodsItemName + ", gameName=" + gameName + "]";
	}
	
	
}
